export class Resource {
    id:string
    authority: string
    name: string
    path: string
    method: string
    deprecated:number
    groupCode: string
    moduleCode: string

    constructor(_authority: string, _name: string, _path: string, _method: string,
                _deprecated: number, _groupCode: string, _moduleCode: string, _id: string) {
        this.authority = _authority;
        this.name = _name;
        this.path = _path;
        this.method = _method;
        this.deprecated = _deprecated;
        this.groupCode = _groupCode;
        this.moduleCode = _moduleCode;
        this.id = _id;
    }
}